package ar.com.spsolutions.splilabrary.view.application.configuration;

import org.apache.wicket.spring.injection.annot.SpringComponentInjector;

import ar.com.spsolutions.splilabrary.view.application.SPApplication;
import ar.com.spsolutions.splilabrary.view.utils.MounterURL;

public class MounterConfigurator extends Configurator {

	public MounterConfigurator(final SPApplication application) {
		super(application);
	}

	@Override
	protected void initialize(final SPApplication app) {
		app.setMounterURL(new MounterURL(app));
		app.getComponentInstantiationListeners().add(
				new SpringComponentInjector(app));
	}

}
